<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<html >
    <head>
        <meta name="description" content="HTML encoding tutorial based on examples" />        
        <meta name="keywords" content="remka,encoding tutorial,encoding examples" />        
        <meta name="robots" content="index,follow" />        
        <title>Remka Encoding Web Application - HTML</title>
        <link href="<c:url value="/css/style.css" />" rel="stylesheet" type="text/css" />
<script type="text/javascript">
  (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  })(window,document,'script','//www.google-analytics.com/analytics.js','ga');

  ga('create', 'UA-55917358-1', 'auto');
  ga('send', 'pageview');

</script>      
    </head>
    <body>
        <header>
            <hgroup>
                <h1>Web application for encoding decoding</h1>
                <h1>of different set of characters</h1>
                <h2>Part of Remka tutorials</h2>
            </hgroup>
            <a href="#" title="Remka homepage"><img src="images/logo.png" alt="Remka Solutions" /></a></header>
        <article>
            <h1 style="font-size: ">Encoding / Decoding  HTML</h1>
            <form:form modelAttribute="encodingForm" method="POST" action="html.htm">
                <label>Input Text</label>
                <br/>
                <form:textarea path="userInput" />
                <br/>
                <br/>
                <input type="submit" name="action" value="encode"/>
                <input type="submit" name="action" value="decode"/>    
                <br/>
                <br/>
                <label>Result:</label>
                <br/>
                <form:textarea path="generatedOutput" />
                <br/>
                <h1 style="font-size: ">About HTML encoding</h1>
                <label>HTML (Hypertext Markup Language) has been in use since 1991, but HTML 4.0 (December 1997) was the first standardized version where international characters were given reasonably complete treatment. When an HTML document includes special characters outside the range of seven-bit ASCII two goals are worth considering: the information's integrity, and universal browser display.</label>
            </form:form>
        </article>
        <section>
            <h1>Types</h1>
            <ul>
                <li><a href="/base64.htm" >Base64</a></li>
                <li><a href="/html.htm" >HTML</a></li>
                <li> <a href="/url.htm" >URL</a></li>
            </ul>
        </section>
        <footer>
            <p>  	
                Remka |  November 2014
                <br/>
            </p>
        </footer>
    </body>
</html>